    usage: /usr/bin/ikisite [--config=file] [--verbose] subcommand [options]

    primary subcommands:
        backup hostname [--filename=value] [--morgue] [--stdout] [--srconly] 
                back up a site to the specified output
        branch oldhostname newhostname [--owner=value] [--admin=value] ... [--adminemail=value] [--wikiname=value] [--createnonce] 
                generate a branch of a site with a new hostname,
                optionally with a different admin
        compact hostname [--aggressive] 
                log rotation and vcs cleanup for a site
        create hostname [--type=value] [--vcs=value] [--wikiname=value] [--owner=value] [--admin=value] [--adminemail=value] [--createnonce] 
                create new site
        delete hostname 
                delete a site
        rename oldhostname newhostname 
                rename a site to use a different hostname
        restore hostname [--filename=value] [--morgue] [--stdin] [--no-setup] [--no-sshkeys] 
                restore a site from the specified input
        upgrade hostname 
                upgrade a site to new layout

    query subcommands:
        cgidir hostname 
                returns the CGI directory for a site
        checksite hostname [--wait] [--hasnonce] 
                checks if site is done being created
        destdir hostname 
                returns the ikiwiki destdir for a site
        getsetup hostname key 
                returns a value from the site's ikiwiki.setup
        homedir hostname 
                returns the home directory for a site
        list [--admin=value] ... [--owner=value] ... [--extended] [--aggregatedue] 
                lists all sites that exist on the current host, or match a condition
        logdir hostname 
                returns the server log directory for a site
        repository hostname 
                returns the vcs repository for a site
        rootconfig hostname 
                returns the root configuration directory of the site
        siteexists hostname 
                returns true if the hostname already exists
        sitelookup [--site=value] 
                returns the internal hostname for an url or external hostname
        srcdir hostname 
                returns the ikiwiki srcdir for a site
        sshkeys hostname 
                lists enabled ssh keys
        userlookup [--user=value] 
                returns the internal hostname corresponding to a unix username
        username hostname 
                returns the unix username for a site
        wikiname hostname 
                calculates the default wikiname to use for a site

    utility subcommands:
        add_wikilist hostname 
                adds hostname's user to /etc/ikiwiki/wikilist
        analog hostname ... 
                runs analog, generates report to stdout
        calendar hostname [--force] [--startyear=value] [--endyear=value] 
                runs ikiwiki-calendar if the site has the calendar plugin enabled
        changesetup hostname [--set key=value] ... [--set-yaml key=value] ... [--enable-plugin=value] ... [--disable-plugin=value] ... [--rebuild] [--commit] [--message=value] 
                changes settings in the site's ikiwiki.setup
        checksetup setupref 
                checks that the specified ref contains only safe changes to the setup branch
        commitsetup hostname [--message=value] 
                commits to "setup" branch in VCS
        createnonce hostname [--value=value] 
                returns a nonce for ikisite-wrapper
        createsetupbranch hostname 
                creates "setup" branch in VCS
        deletenonce hostname [--nonce=value] 
                invalidates the specified nonce
        disable hostname [--temporary] 
                disables user access to a site, without removing it
        disabledns hostname 
                removes a hostname from DNS
        disablesshkey hostname [--key=value] [--all] 
                removes the specified ssh key (or all keys)
        domains hostname [--external=value] [--alias=value] ... 
                configure a site's external domain name and aliases
        enable hostname 
                enables user access to a site
        enabledns hostname 
                adds a hostname to DNS
        enablesshkey hostname [--key=value] 
                adds the specified ssh key to .ssh/authorized_keys
        ikiwikiclean hostname 
                removes ikiwiki generated files
        ikiwikisetup hostname [--refresh] [--wrappers] 
                calls ikiwiki to setup a site
        logs [--dump] [--tail] 
                tails or dumps apache access.log for current user's site
        logview hostname ... 
                tail -f of all log files
        observe hostname [--force] 
                informs observersites about site creation or removal
        remove_wikilist hostname 
                removes hostname's user to /etc/ikiwiki/wikilist
        sudo hostname ... 
                runs sudo as site user (example: ikisite sudo $SITE -- ls -l)
        updatecustomersite hostname 
                updates customersite checkout
        usercreate hostname 
                creates the unix user for a site
        userdelete hostname 
                removes the unix user for a site
